package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 调货处理对象 web_dept_product_cargo_reply
 * 
 * @author wsliupan@126.com
 * @date 2021-06-27
 */
@ApiModel("调货处理对象")
public class WebDeptProductCargoReply extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属门店 */
    @Excel(name = "所属门店")
    @ApiModelProperty(value = "所属门店" )
    @NotNull(message = "所属门店 不能为空")
    private Long deptId;

    private Long cargoId;

    @Excel(name = "数量")
    private Long number;

    /** 调货发起方 */
    @Excel(name = "调货发起方")
    @ApiModelProperty(value = "调货发起方" )
    @NotNull(message = "调货发起方 不能为空")
    private Long deptSource;

    @TableField(exist = false)
    @Excel(name = "调货发起方")
    private String deptSourceName;

    /** 调货目标方 */
    @Excel(name = "调货目标方")
    @ApiModelProperty(value = "调货目标方" )
    @NotNull(message = "调货目标方 不能为空")
    private Long targetSource;

    @TableField(exist = false)
    @Excel(name = "调货发起方")
    private String targetSourceName;

    /** 调货商品 */
    @Excel(name = "调货商品")
    @ApiModelProperty(value = "调货商品" )
    @NotNull(message = "调货商品 不能为空")
    private Long productId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    @ApiModelProperty(value = "商品名称" )
    @NotNull(message = "商品名称 不能为空")
    private String productName;

    private Long selectProductId;

    /** 商品名称 */
    @Excel(name = "选中的商品名称")
    @ApiModelProperty(value = "选中的商品名称" )
    private String selectProductName;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态" , hidden = true )
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptSource(Long deptSource) 
    {
        this.deptSource = deptSource;
    }

    public Long getDeptSource() 
    {
        return deptSource;
    }
    public void setTargetSource(Long targetSource) 
    {
        this.targetSource = targetSource;
    }

    public Long getTargetSource() 
    {
        return targetSource;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getDeptSourceName() {
        return deptSourceName;
    }

    public void setDeptSourceName(String deptSourceName) {
        this.deptSourceName = deptSourceName;
    }

    public String getTargetSourceName() {
        return targetSourceName;
    }

    public void setTargetSourceName(String targetSourceName) {
        this.targetSourceName = targetSourceName;
    }

    public Long getCargoId() {
        return cargoId;
    }

    public void setCargoId(Long cargoId) {
        this.cargoId = cargoId;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public Long getSelectProductId() {
        return selectProductId;
    }

    public void setSelectProductId(Long selectProductId) {
        this.selectProductId = selectProductId;
    }

    public String getSelectProductName() {
        return selectProductName;
    }

    public void setSelectProductName(String selectProductName) {
        this.selectProductName = selectProductName;
    }
}
